package com.gis.utils;

import com.gis.common.enums.ApiResultCode;
import com.gis.common.model.ApiResult;

public class ResultUtils {

    public static  ApiResult Success(Object obj){
        return new ApiResult(ApiResultCode.Success, "", obj);
    }

    public static ApiResult Error(ApiResultCode code, String message){
        return new ApiResult(code, message);
    }
}
